package com.blog.service;

import com.blog.Utils.Result;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author 任浩
 * @version 1.0
 */
public interface AttachmentService {
    String uploadImage(MultipartFile file);

    Result uploadVideo(MultipartFile file, String bucketName, Integer shardingIndex);

    Result judgeVideo(String fileName);

    Result mergeVideo(String fileName, Integer shardingTotal);
}
